import request from '@/utils/request';

export async function reqTyDemandOrderList(data: any, options?: any): Promise<any> {
	return request('/api/sys/demandOrder/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyDemandOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/demandOrder/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyDemandOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/demandOrder/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyDemandOrder(data: any, options?: any): Promise<any> {
	return request('/api/sys/demandOrder/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


